package Decorate;

public class DifferentDecoratedForm extends DecoratedForm {
    private String head;
    private String tail;
    public DifferentDecoratedForm(String head, String tail) {
        this.head = head;
        this.tail = tail;
    }
    @Override
    public String getContent() {
        return head + "\n" + super.getContent() + "\n" + tail;
    }
}
